package com.chaihu.front.service.api;

import org.springframework.http.ResponseEntity;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * @author chaihu
 * @date 2021/10/13
 */
public interface FrontService {
    public ResponseEntity<String> doApi(String body, Map<String, String> headers, HttpServletRequest request);

    public ResponseEntity<Object> doResourceApi(String body, Map<String, String> headers, HttpServletRequest request);
}
